package com.open.capacity.finance.dao;

import com.open.capacity.finance.entity.SourceBaseAsset;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 资产数据
 *
 * @author
 * @email
 * @date 2023-02-16 13:10:26
 */
@Mapper
public interface SourceBaseAssetDao {

    int save(SourceBaseAsset sourceBaseAsset);

    int deleteByCompanyId(@Param("companyId") String companyId);

    SourceBaseAsset findById(String id);

    List<SourceBaseAsset> findAll(Map<String, Object> params);

    List<com.open.capacity.finance.dto.audit_model_27.AuditModelStep2> getMonthData(Map<String, Object> params);

    List<com.open.capacity.finance.dto.audit_model_25.AuditModelStep1> getDepartmentData(Map<String, Object> params);

    List<SourceBaseAsset> getCarUsewayData(Map<String, Object> params);

}
